package com.prototype;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Resume implements Cloneable {
	private static Logger logger = LoggerFactory.getLogger(Resume.class);
	private String name;
	private String sex;
	private String age;

	public Resume(String name, String sex, String age) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
	}

	public static void main(String[] args) throws CloneNotSupportedException {

		Resume r1 = new Resume("lynn","man","29");
		Resume r2 = (Resume) r1.clone();
		
		logger.info("r1: {} name:{} , r2:{} name:{} ",r1,r1.getName(),r2,r2.getName());
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}


}
